const fs = require("fs");

function log(...str) {
    console.log([...str].toString());
    fs.appendFileSync("./log.txt", `\n${[...str].toString()}`);
}

module.exports.log = log;